package com.cloud.system.api.mapper;

import java.util.List;

import org.apache.ibatis.annotations.ResultType;
import org.apache.ibatis.annotations.Select;

import com.cloud.system.api.entity.RoleSubSystems;
import com.cloud.system.common.utils.BaseMapperHelper;

public interface RoleSubSystemMapper extends BaseMapperHelper<RoleSubSystems> {

	@Select("select subsystem_id from role_subsystem where role_id = #{roleId}")
	@ResultType(value = Long.class)
	List<Long> findRoleSysAuthority(long roleId);
}